﻿using System.IO;

namespace HK.Core.Encryption.Protocol
{
    /// <summary>
    /// 接口 : 二进制数据解析
    /// </summary>
    public interface IBinaryDataAnalysis
    {
        /// <summary>
        /// 解密/解码
        /// </summary>
        /// <param name="iStream">Stream</param>
        /// <param name="iStartOffset">开始偏移</param>
        void Decode(MemoryStream iStream, int iStartOffset = 0);
    }
}
